package string.regexobject;
/**
 * String replaceAll(String regex ,String s):替换
 * 只要满足正则表达式（regex)的部分给替换为指定字符串
 */
public class ReplaceAllDemo {
    public static void main(String[] args) {
        String line = "axsd1235648safasewdzx2454";
        line = line.replaceAll("[0-9]+","#@#@#@#");
        System.out.println(line);
    }
}
